#ifndef TRANSOBJ_H
#define TRANSOBJ_H

#include <QObject>
#include <QDebug>
#include <QThread>
#include <windows.h>
extern "C"{
#include <hidsdi.h>
#include <devguid.h>
}
#include <setupapi.h>
//#include "GetHIDDevice.h"
class Gemini : public QThread{
    Q_OBJECT
    int x = 0;
    uint8_t buffer[18] = {0x01,0x05, 0x03,0x01,};
public:
    Q_INVOKABLE void getValFromQml(int v){
        x += v;
        emit valueFromCpp(x);
    }
    Gemini() = default;
    void run(){
        while(1){

        }
    }


signals:
    void valueFromCpp(int val);
};


#endif // TRANSOBJ_H
